##
##  $Header: /pub/cvsroot/mydns/doc/Makefile.am,v 1.10 2003/03/15 01:09:33 bboy Exp $
##

SUBDIRS		=	nls man texinfo
EXTRA_DIST	=	README

RUN			=	$(SHELL) $(top_srcdir)/missing --run

all: sedfile man info

nls:
	cd @DOCDIR@/nls && $(MAKE)

sedfile: nls
	if ! test -f @SEDFILE@; then \
	   cd @top_srcdir@ && $(MAKE) sedfile; \
	fi

man:
	cd @DOCDIR@/man && $(MAKE) man

info:
	cd @DOCDIR@/texinfo && $(MAKE) info

pdf:
	cd @DOCDIR@/texinfo && $(MAKE) pdf

ps:
	cd @DOCDIR@/texinfo && $(MAKE) ps

install: all
	cd @DOCDIR@/man && $(MAKE) install
	cd @DOCDIR@/texinfo && $(MAKE) install

##
##  "make restore" restores original docs if translated docs were installed
##
restore:
	cd @DOCDIR@/nls && $(MAKE) restore
	cd @DOCDIR@/man && $(MAKE) restore
	cd @DOCDIR@/texinfo && $(MAKE) restore


release:
	if test -x @DOCDIR@/release.sh; then \
	  $(SHELL) @DOCDIR@/release.sh; \
	fi

clean:


.PHONY: all install sedfile nls man info pdf ps release restore clean


## vi:set ts=3:
